-
Home
-
UpsellWP – WooCommerce Upsell and Related Products Offers
-
2.2.1
-
Code
-
Classes
- CartUpsells
| Total Complexity |
74 |
| Dependencies |
7 |
| Dependents |
4 |
| Total lines |
306 |
| Lines of code |
193 |
| Logical lines of code |
110 |
| Comment lines |
76 |
| Methods |
10 |
| Properties |
1 |
Methods 10
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| getOffersToDisplay() |
C |
37 |
27 |
64 |
| pickOffers() |
B |
43 |
16 |
47 |
| init() |
A |
51 |
10 |
24 |
| getOffersHtml() |
A |
54 |
10 |
18 |
| getDisplayLocations() |
S |
56 |
3 |
17 |
| addCampaignNotices() |
S |
74 |
2 |
5 |
| loadDisplayLocations() |
S |
71 |
2 |
6 |
| loadMiniCartDisplayLocations() |
S |
71 |
2 |
6 |
| showOffers() |
S |
79 |
1 |
3 |
| getDisplayLocationsOnMiniCart() |
S |
78 |
1 |
3 |